<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

    <div  title="a" fit="true" style="" border="false"> 
        <div class="easyui-panel" fit="true" border="false">
            <div class="easyui-layout" fit="true">
                <div region="north" border="false" style="height:50px;background:#A9FACD;padding:10px;">
					
					<input class="easyui-searchbox" data-options="prompt:'Please Input Value',menu:'#mm',
							searcher:function(value,name){alert(value+':'+name)}" style="width:300px"></input>
							
					<div id="mm" style="width:120px">
						<div data-options="name:'all',iconCls:'icon-ok'">All News</div>
						<div data-options="name:'sports'">Sports News</div>
					</div>

				</div>
                <div region="center" border="false">
                	<table id="tt"></table>
                    </div>
                </div>
             
        </div>
         
    </div>
    
    <div title="b">
        show somethings !
    </div>
    
    <div id="win" title="My Panel" collapsible="true" style="padding:10px;">
  Panel Contentfdsafasfds
  
  
  fdsfdasfds
</div>
    
    
<!-- <script>
$(function (){
	var lastIndex;
	$('#tt').datagrid({
	    url:'/demo/ui/data',
	    loadMsg: "正在加载员工（职员）数据，请稍等...",  
	    pagination : true,
	    rownumbers : true,
	    columns:[[
	        {field:'id',title:'id',width:100},
	        {field:'account',title:'account',width:100},
	    ]],
	    toolbar:[{
					text:'添加',
					iconCls:'icon-add',
					handler:function(){
					  
					
						//addTab("新增员工", "www.baidu.com");
						/* $('#tt').datagrid('endEdit', lastIndex);
						$('#tt').datagrid('appendRow',{
							itemid:'',
							productid:'',
							listprice:'',
							unitprice:'',
							attr1:'',
							status:'P'
						});
						lastIndex = $('#tt').datagrid('getRows').length-1;
						$('#tt').datagrid('selectRow', lastIndex);
						$('#tt').datagrid('beginEdit', lastIndex); */
					}
				},'-',{
					text:'删除',
					iconCls:'icon-remove',
					handler:function(){
						var row = $('#tt').datagrid('getSelected');
						if (row){
							var index = $('#tt').datagrid('getRowIndex', row);
							$('#tt').datagrid('deleteRow', index);
						}
					}
				},'-',{
					text:'同意',
					iconCls:'icon-save',
					handler:function(){
						$('#tt').datagrid('acceptChanges');
					}
				},'-',{
					text:'回退',
					iconCls:'icon-undo',
					handler:function(){
						$('#tt').datagrid('rejectChanges');
					}
				},'-',{
					text:'GetChanges',
					iconCls:'icon-search',
					handler:function(){
						var rows = $('#tt').datagrid('getChanges');
						alert('changed rows: ' + rows.length + ' lines');
					}
				}]
	});

});

 


</script> -->